package com.moon.proxy;

import com.moon.cglib.entiy.Ticket;

public class Client {

    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        SellTickets proxySellTickets = proxyFactory.generate();

//        System.out.println(proxySellTickets);
        Ticket sell = proxySellTickets.sell("成都→芬兰");

        System.out.println(sell);
    }
}
